Micron Document
🎖️GitЯра🎖️


Displaying Raw • Download

app/src/main/java/com/geeksville/mesh/util/UiText.kt ui_message_list (be3f882f) Text, 1.47 KB

T8b949e/*
* Copyright (c) 2025 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

Tff7b72package T7ee787com.geeksville.mesh.util

Tff7b72import T7ee787android.content.Context
Tff7b72import T7ee787androidx.annotation.StringRes
Tff7b72import T7ee787androidx.compose.runtime.Composable
Tff7b72import T7ee787androidx.compose.ui.res.stringResource

Tf0883e@SuppressTb4b4b4(Ta5d6ff"Ta5d6ffSpreadOperatorTa5d6ff"Tb4b4b4)
Tff7b72sealed Tff7b72class T56d364UiText Tb4b4b4{
Tff7b72data Tff7b72class T56d364DynamicStringTb4b4b4(Tff7b72val Te6edf3valueTb4b4b4: Tffa657StringTb4b4b4) Tb4b4b4: Te6edf3UiTextTb4b4b4(Tb4b4b4)
Tff7b72class T56d364StringResourceTb4b4b4(Tf0883e@StringRes Tff7b72val Te6edf3resIdTb4b4b4: Tffa657IntTb4b4b4, Tff7b72vararg Tff7b72val Te6edf3argsTb4b4b4: Tffa657AnyTb4b4b4) Tb4b4b4: Te6edf3UiTextTb4b4b4(Tb4b4b4)

Tf0883e@Composable
Tff7b72fun Td2a8ffasStringTb4b4b4(Tb4b4b4)Tb4b4b4: Tffa657String Tb4b4b4{
Tff7b72return Tff7b72when Tb4b4b4(Tff7b72thisTb4b4b4) Tb4b4b4{
Tff7b72is Te6edf3DynamicString Tff7b72-Tff7b72> Te6edf3value
Tff7b72is Te6edf3StringResource Tff7b72-Tff7b72> Te6edf3stringResourceTb4b4b4(Te6edf3resIdTb4b4b4, Tff7b72*Te6edf3argsTb4b4b4)
Tb4b4b4}
Tb4b4b4}

Tff7b72fun Td2a8ffasStringTb4b4b4(Te6edf3contextTb4b4b4: Te6edf3ContextTb4b4b4)Tb4b4b4: Tffa657String Tb4b4b4{
Tff7b72return Tff7b72when Tb4b4b4(Tff7b72thisTb4b4b4) Tb4b4b4{
Tff7b72is Te6edf3DynamicString Tff7b72-Tff7b72> Te6edf3value
Tff7b72is Te6edf3StringResource Tff7b72-Tff7b72> Te6edf3contextTb4b4b4.Te6edf3getStringTb4b4b4(Te6edf3resIdTb4b4b4, Tff7b72*Te6edf3argsTb4b4b4)
Tb4b4b4}
Tb4b4b4}
Tb4b4b4}

Served by rngit 1.5.0 - Generated in 0.04s